package com.zxj.test.common.exception;

import org.springframework.http.HttpStatus;

/**
 * @author zxj
 * @date 2020/7/18
 */
public class SmsSendFailureException extends AbstractException{

    public SmsSendFailureException(String message) {
        super(message);
    }

    public SmsSendFailureException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public Integer code() {
        return HttpStatus.INTERNAL_SERVER_ERROR.value();
    }
}
